//
//  MBSelectedOratationCell.m
//  发布求租
//
//  Created by MB__Lee on 2018/6/9.
//  Copyright © 2018年 MB__Lee. All rights reserved.
//

#import "MBSelectedOratationCell.h"
@interface MBSelectedOratationCell()
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;

@property (weak, nonatomic) IBOutlet UIImageView *imgV;

@end

@implementation MBSelectedOratationCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
-(void)setName:(NSString *)name{
    _name = name;
    self.nameLabel.text = name;
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    
    [super setSelected:selected animated:animated];
    
    if (selected) {
        self.imgV.hidden = NO;
    }else{
        self.imgV.hidden = YES;
    }

    // Configure the view for the selected state
}

@end
